package org.onvivals.app.modules.auth.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class LoginParam {

	@NotBlank(message = "code参数缺失")
	@Schema(description = "小程序登陆code")
	private String code;

	@Schema(description =  "小程序完整用户信息的加密数据")
	private String encryptedData;

	@Schema(description =  "小程序加密算法的初始向量")
	private String iv;

	@Schema(description =  "头像")
	private String avatarUrl;
}
